﻿<%@ Page Language="C#" MasterPageFile="~/ProductManager/ProductManage.Master" AutoEventWireup="true" CodeFile="StockOut.aspx.cs" Inherits="GoShopping.Web.ProductManager.StockOut" Title="无标题页" %>
<%@ Register assembly="ExtensionGridView" namespace="ExtensionControls" tagprefix="cc1" %>
<%@ MasterType VirtualPath="ProductManage.Master" %> 
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
    <table class="style1" cellpadding="0" cellspacing="0">
        <tr>
            <td>
                <asp:Label ID="Label1" runat="server" Text="缺货信息"></asp:Label>
            </td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td colspan="3">
                <cc1:ExtensionGridView ID="gvStockout" runat="server" 
                    AutoGenerateColumns="False" PagerText="当前第{0}页,共{1}页{2}条记录" 
                    RecordCount="-1" AllowPaging="True" 
                    EmptyDataText="无缺货记录!" Width="600px">
                    <Columns>
<%--                        <asp:TemplateField>
                            <HeaderTemplate>
                                <asp:CheckBox ID="cbAll" runat="server" AutoPostBack="True" 
                                    oncheckedchanged="cbAll_CheckedChanged" />
                            </HeaderTemplate>
                            <ItemTemplate>
                                <asp:CheckBox ID="cbSingle" runat="server" />
                            </ItemTemplate>
                        </asp:TemplateField>--%>
                        <asp:TemplateField HeaderText="缺货名称" HeaderStyle-HorizontalAlign="Left"><ItemTemplate><asp:Label ID="lblPrdt" runat="server" Text='<%# Eval("Name") %>'></asp:Label></ItemTemplate></asp:TemplateField>
                        <asp:TemplateField HeaderText="缺货日期" HeaderStyle-HorizontalAlign="Left"><ItemTemplate><asp:Label ID="lblPrdt" runat="server" Text='<%# Eval("CreateDate") %>'></asp:Label></ItemTemplate></asp:TemplateField>
                        <asp:TemplateField HeaderText="是否显示" HeaderStyle-HorizontalAlign="Left"><ItemTemplate><asp:Label ID="lblPrdt" runat="server" Text='<%# GetRelatedColumn.ConvertBoolToString(Eval("IsReply")) %>'></asp:Label></ItemTemplate></asp:TemplateField>
                        <asp:TemplateField HeaderText="用户名称" HeaderStyle-HorizontalAlign="Left"><ItemTemplate><asp:Label ID="lblPrdt" runat="server" Text='<%# GetRelatedColumn.GetUserName(Eval("UserID")) %>'></asp:Label></ItemTemplate></asp:TemplateField>
                    </Columns>
                </cc1:ExtensionGridView>
            </td>
        </tr>
        <tr>
            <td>
                <%--<asp:Button ID="btnDel" runat="server" Text="删除" />--%>
            </td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
    </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
